import Router from '@koa/router'
import registerController from '../controller/register.controller'

const registerRouter = new Router({ prefix: '/register' })

registerRouter.post('/', registerController.register.bind(registerController))

export default registerRouter
